<template>
	<om-page :title="pageTitle">
		<ot-tree-dshow :defaultLevel="true" :showConfirm="false" :clearTree="false" :checkBtn="false" ref="ottree" :range="treeList" idKey="id" rangeKey="text" title="机构列表"></ot-tree-dshow>
	</om-page>
</template>

<script>
	export default {
		data() {
			return {
				pageTitle:"机构列表",
				treeList: [],
				instId: '',
			};
		},
		methods: {
			
		},
		onLoad(data) {
			let _that = this;
			
			uni.setNavigationBarTitle({
				title: '机构列表'
			});
			
			_that.om.request(
				"tinstitution/getComboTree",
				{
					instId:_that.instId 
				}
			).then(res=>{
				_that.treeList = res
			})
		},
	};
</script>

<style>
	
</style>                                                  
